function ret = shift_data(brkPt,endPt,beginPt,data)
part1 = data(brkPt:endPt);
part2 = data(beginPt:brkPt-1);
ret = cat(1,part1,part2);
end